package Client.IHM;

import java.awt.Color;
import java.awt.Font;

import javax.swing.JLabel;

/**
 * @Author 
 * Mathieu
 * 
 * @Name 
 * SpecificLabel
 * 
 * @Description
 * Label specifique parametrable.
 */
public class SpecificLabel extends JLabel {

// --- Attributes FINAL ----------------------------------------------------------------------------------------------------------------------
	
	/** serialVersionUID */
	private static final long serialVersionUID = 1L;
	
// --- Constructor ---------------------------------------------------------------------------------------------------------------------------

	public SpecificLabel(String text, String police, int size, Color color){
		super(text);
		this.setForeground(color);
		Font font = new Font(police, Font.BOLD, size);
		this.setFont(font);
	}	
}
